package com.wrx.club_management_backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wrx.club_management_backend.entity.AllocationNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface AllocationNoticeMapper extends BaseMapper<AllocationNotice> {

    @Update("update tb_allocation_request set stat = 0 where id = #{allocationNoticeId}")
    void completion(@Param("allocationNoticeId") Long allocationNoticeId);
}
